package com.example.filecabinet.dao;

import com.example.filecabinet.entity.Device_info;
import com.example.filecabinet.entity.Device_infoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface Device_infoMapper {
    int countByExample(Device_infoExample example);

    int deleteByExample(Device_infoExample example);

    int deleteByPrimaryKey(String deviceId);

    int insert(Device_info record);

    int insertSelective(Device_info record);

    List<Device_info> selectByExample(Device_infoExample example);

    Device_info selectByPrimaryKey(String deviceId);

    int updateByExampleSelective(@Param("record") Device_info record, @Param("example") Device_infoExample example);

    int updateByExample(@Param("record") Device_info record, @Param("example") Device_infoExample example);

    int updateByPrimaryKeySelective(Device_info record);

    int updateByPrimaryKey(Device_info record);

    int countByDeviceNumber(String deviceNumber);

    Device_info selectByDeviceNumber(String deviceNumber);

}